package com.gt.web.srv.web.api.command;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信小程序登录入参
 *
 * @author Yu Chaohua
 * @date 2024/5/16 23:55
 */
@Data
@ApiModel(description = "登录入参")
public class WxLoginReqCommand {

    @ApiModelProperty(value = "登录时获取的 code", required = true)
    @NotBlank(message = "登录jsCode不能为空")
    private String code;

}


